package com.itany.springboot.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "emp")
@Data
public class Emp {
    private Integer id;
    private String name;
    private Double salary;


}
